package com.atguigu.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.atguigu.excel.DateConverter;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DemoData {

	private String username;
     @DateTimeFormat("yyyy-MM-dd")
	 @ExcelProperty(value = "日期",converter = DateConverter.class)
	private Date date;

	private Double money;

}
